package com.itheima.service;

import com.itheima.entity.Result;
import com.itheima.pojo.Member;
import com.itheima.pojo.Order;
import com.itheima.pojo.Setmeal;

import java.util.List;
import java.util.Map;

public interface OrderService {
    Result order(Map map) throws Exception;
    Map findById(Integer id);

    List<Integer> findDayOrderCount(List<String> dates);

    List<Integer> findDayVisitCount(List<String> dates);


    List<Map<String,Object>> findNamesByDateAndMemberId(Map<String,Object> map);

    Map<String, Object> findOrderDetail(Integer id);

    List< Order> findOrderByMemberId(Integer id);

    String findAddressById(Integer id);
}
